import { defineStore } from 'pinia'

export const useLayoutStore = defineStore({
    id: 'app-layout',
    state: (): LayoutStore => {
        return {
            layoutMap: null
        }
    },
    getters: {
        getLayoutMap: state => state.layoutMap
    },
    actions: {
        updateLayoutMap(_layoutMap: LayoutStore) {
            this.layoutMap = _layoutMap
        }
    }
})
